package org.shijiagen.manager.service.impl;

import lombok.RequiredArgsConstructor;
import org.shijiagen.clients.OrderClient;
import org.shijiagen.manager.service.OrderService;
import org.shijiagen.param.PageParam;
import org.shijiagen.utils.R;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class OrderServiceImpl implements OrderService {

    private final OrderClient orderClient;

    @Override
    public R list(PageParam pageParam) {
        return orderClient.adminList(pageParam);
    }
}
